package com.prs.crm.dao.sys.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.sys.LeadEmailAnonymityDao;
import com.prs.crm.domain.sys.LeadEmailAnonymity;

public class LeadEmailAnonymityDaoImpl extends BaseDaoImpl<LeadEmailAnonymity> implements LeadEmailAnonymityDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<LeadEmailAnonymity> getAllLeadEmailAnonymity() {
		Criteria criteria=this.getSession().createCriteria(LeadEmailAnonymity.class);
		return criteria.list();
	}

}
